package com.xhh.model.reapply.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "填报调剂志愿实体")
public class AddChoiceDto {
    // ========== 考生基本信息 =========
    @ApiModelProperty("姓名")
    @NotNull(message = "考生姓名不能为空")
    private String stuName;
    @ApiModelProperty("准考证号")
    @NotNull(message = "准考证号不能为空")
    private String stuCode;
    // ========== 志愿一 =========
    @ApiModelProperty("招生单位不能为空")
    @NotNull(message = "招生单位不能为空")
    private String unityCode1;
    @ApiModelProperty("院系名称不能为空")
    @NotNull(message = "院系名称不能为空")
    private String faultyCode1;
    @ApiModelProperty("专业名称不能为空")
    @NotNull(message = "专业名称不能为空")
    private String majorCode1;
    @ApiModelProperty("是否允许招生单位内调配")
    private Boolean isChoice1;
    @ApiModelProperty("联系电话")
    @NotNull(message = "联系电话不能为空")
    private String phone1;

    // ========== 志愿二 =========
    @ApiModelProperty("招生单位不能为空")
    @NotNull(message = "招生单位不能为空")
    private String unityCode2;
    @ApiModelProperty("院系名称不能为空")
    @NotNull(message = "院系名称不能为空")
    private String faultyCode2;
    @ApiModelProperty("专业名称不能为空")
    @NotNull(message = "专业名称不能为空")
    private String majorCode2;
    @ApiModelProperty("是否允许招生单位内调配")
    private Boolean isChoice2;
    @ApiModelProperty("联系电话")
    @NotNull(message = "联系电话不能为空")
    private String phone2;

}
